package com.shruijin.wy.property.modules.test.service.impl;


import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.shruijin.wy.property.common.exception.RRException;
import com.shruijin.wy.property.common.validator.Assert;
import com.shruijin.wy.property.modules.test.dao.UserDao;
import com.shruijin.wy.property.modules.test.entity.UserEntity;
import com.shruijin.wy.property.modules.test.service.UserService;
import org.apache.commons.codec.digest.DigestUtils;
import org.springframework.stereotype.Service;


@Service("userService")
public class UserServiceImpl extends ServiceImpl<UserDao, UserEntity> implements UserService {

	@Override
	public UserEntity queryByMobile(String mobile) {
		UserEntity userEntity = new UserEntity();
		userEntity.setMobile(mobile);
		return baseMapper.selectOne(userEntity);
	}
}
